package com.sophia.common.xmlbean.pojo;

import com.sophia.common.xmlbean.util.BaseXMLPojo;

/**
 * 家族史
 * <p>
 * Title:Health
 * </p>
 * <p>
 * KindredHistoryXMLPojo
 * </p>
 * Alex Apr 13, 2011 9:58:44 PM create
 * 
 * @author <a href='wanghao924@126.com'>Alex</a> QQ: 873987060;
 * @version 1.0
 */
public class KindredHistoryXMLPojo extends BaseXMLPojo {
	private static final long serialVersionUID = 1L;

	/**
	 * 祖父母家族史
	 */
	private GrandparentXMLPojo grandparent;

	/**
	 * 外祖父母家族史
	 */
	private MaterialGrandparentXMLPojo materialGrandparent;

	/**
	 * 父亲家族史
	 */
	private FatherXMLPojo father;

	/**
	 * 母亲家族史
	 */
	private MotherXMLPojo mother;

	/**
	 * 兄弟姐妹
	 */
	private SisterXMLPojo sister;

	/**
	 * 子女
	 */
	private ChildXMLPojo child;

	public GrandparentXMLPojo getGrandparent() {
		return grandparent;
	}

	public void setGrandparent(GrandparentXMLPojo grandparent) {
		this.grandparent = grandparent;
	}

	public MaterialGrandparentXMLPojo getMaterialGrandparent() {
		return materialGrandparent;
	}

	public void setMaterialGrandparent(MaterialGrandparentXMLPojo materialGrandparent) {
		this.materialGrandparent = materialGrandparent;
	}

	public FatherXMLPojo getFather() {
		return father;
	}

	public void setFather(FatherXMLPojo father) {
		this.father = father;
	}

	public MotherXMLPojo getMother() {
		return mother;
	}

	public void setMother(MotherXMLPojo mother) {
		this.mother = mother;
	}

	public SisterXMLPojo getSister() {
		return sister;
	}

	public void setSister(SisterXMLPojo sister) {
		this.sister = sister;
	}

	public ChildXMLPojo getChild() {
		return child;
	}

	public void setChild(ChildXMLPojo child) {
		this.child = child;
	}

	public KindredHistoryXMLPojo() {

		nodeName = "kindredHistory";
		nodeList.add(0, "grandparent");
		nodeList.add(1, "materialGrandparent");
		nodeList.add(2, "father");
		nodeList.add(3, "mother");
		nodeList.add(4, "sister");
		nodeList.add(5, "child");
	}
}
